package com.advertisementsystem.Servie;

import com.advertisementsystem.Dto.ChatMessageDTO;
import com.advertisementsystem.entity.ChatMessages;

import java.util.List;

public interface ChatService {
    ChatMessages sendMessage(ChatMessageDTO messageDTO);

    List<ChatMessages> getMessageHistory(Long negotiationId);

    void markMessageAsRead(String messageId);

    void recallMessage(String messageId, Long userId);
}
